-- GENERATED SPELL FOR [Timbermaw Den Watcher] --


function spell0_6187(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_6187', 656, 1)
end

function Sorts_6187(pUnit, Event)
local choix_sorts_6187 = math.random(0, 0)
if choix_sorts_6187 == 0 then
pUnit:RegisterEvent('spell0_6187', 1, 1)
end
end

function mob6187_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6187', math.random(1500, 3000), 1)
end

function mob6187_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6187_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6187_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6187, 1, 'mob6187_Action')
RegisterUnitEvent(6187, 2, 'mob6187_Leave')
RegisterUnitEvent(6187, 3, 'mob6187_Kill')
RegisterUnitEvent(6187, 4, 'mob6187_Die')
